package com.ruoyi.amuse.likes.domain;


import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 点赞管理对象 post_likes
 * 
 * @author juwujie
 * @date 2024-07-19
 */
public class PostLikes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 点赞唯一标识 */
    @Excel(name = "点赞唯一标识")
    private Long likeId;

    /** 点赞帖子id */
    @Excel(name = "点赞帖子id")
    private Long postId;

    /** 点赞账号 */
    @Excel(name = "点赞账号")
    private Long userAccount;

    /** 点赞状态（0为点赞 1点赞） */
    @Excel(name = "点赞状态", readConverterExp = "0=为点赞,1=点赞")
    private String status;

    public void setLikeId(Long likeId) 
    {
        this.likeId = likeId;
    }

    public Long getLikeId() 
    {
        return likeId;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setUserAccount(Long userAccount) 
    {
        this.userAccount = userAccount;
    }

    public Long getUserAccount() 
    {
        return userAccount;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("likeId", getLikeId())
            .append("postId", getPostId())
            .append("userAccount", getUserAccount())
            .append("status", getStatus())
            .toString();
    }
}
